Skip to content

Update JC2.py#16

Open
yuxumin wants to merge 1 commit intoTTPlanetPig:mainfrom
yuxumin:patch-1
Open

Update JC2.py#16
yuxumin wants to merge 1 commit intoTTPlanetPig:mainfrom
yuxumin:patch-1

Conversation

@yuxumin
Copy link
Copy Markdown

@yuxumin yuxumin commented Dec 2, 2024

return None

is sometimes confusing for debugging. it will cause other error within comfy. Like

"./ComfyUI/execution.py", line 175, in merge_result_data
output_is_list = [False] * len(results[0])
TypeError: object of type 'NoneType' has no len()

Raise the error directly will help coders and users to point the position where is original error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant